<template>
	<view class="content">
		<view class="index">
			<view class="context">index</view>
			<u-button type="primary">主要按钮</u-button>
			<u-button type="success">成功按钮</u-button>
			<image src="../../static/logo.png" mode=""></image>
			<text>1234165465</text>
		</view>
		<test></test>
		<u-icon name="thumb-up-fill" color="#ffffff" size="28"></u-icon>
	</view>
</template>

<script>
	//引入组件
	import test from '@/components/test.vue'
	
	export default {
		components:{
			test
		},
			
		data() {
			return {
				title: 'Hello',

			}
		},
		onLoad() {
			this.$u.api.getData().then(res => {
				console.log('data', res)
			})	
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	
</style>
